﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/SearchCategory.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="SLP_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Javascripts/Gammar.Price.PagerControl.js" />
            <asp:ScriptReference Path="~/Javascripts/Gammar.Price.PriceEntity.js" />
            <asp:ScriptReference Path="~/Javascripts/Gammar.Price.Web.Compare.js" />
        </Scripts>
        <Services>
            <asp:ServiceReference Path="~/WebServices/WebService.asmx" InlineScript="false" />
        </Services>
    </asp:ScriptManagerProxy>
    <div id="Category" class="datalist">
    </div>

    <script language="javascript" type="text/javascript">
        function itemLoad() { 
            $create(Gammar.Price.Web.PriceEntity, 
                {PageSize: 20, PagerPosition: Gammar.Price.Web.PagerPosition.both, PagerCssName: "pages"}, 
                null, null, $get('Category'));
        }
        Sys.Application.add_load(itemLoad);
    </script>

</asp:Content>
